<html>
<head>
  <title>Homepage-Ebay Store</title>
</head>
<body>
Please input your item id to get an item

<form method="POST" action="GetItemDetail.do">

<input type="text" name="itemid" value="" />

<input type="submit" name="submit" value="submit" />

</form>

Please input item id and ending reason to end an item

<form method="POST" action="EndItem.do">

<input type="text" name="itemid_end" value="" />

<select name="endreason"  >

<option value="Incorrect" >Incorrect</option>

<option value="LostOrBroken" >Lost Or Broken</option>

<option value="NotAvailable" >Not Available</option>

<option value="OtherListingError" >Other Listing Error</option>

</select>

<input type="submit" name="submit" value="submit" />

</form>


Please input your item id to revise an item

<form method="POST" action="ReviseItem.do">

<input type="text" name="itemid" value="" />

<input type="submit" name="submit" value="submit" />

</form>


Please input your item id to relist an item

<form method="POST" action="RelistItem.do">

<input type="text" name="itemid" value="" />

<input type="submit" name="submit" value="submit" />

</form>


Please input keyword of product that you want to research

<form method="POST" action="PriceResearch.do">

<input type="text" name="product" value="" />

<input type="submit" name="submit" value="submit" />

</form>

Add an item

<form enctype="multipart/form-data" method="POST"  action="AddItem.do">

Item title:<input type="text" name="item_title" value="" />

Category:<input type="text" name="categoryid" value="139971" />

Listing Type:<select name="listingtype" >

<option value="CHINESE">Chinese</option>

<option value="LIVE">Live</option>

<option value="AD_TYPE">AdType</option>

<option value="PERSONAL_OFFER">PersonalOffer</option>

</select>

Quantity:<input type="text" name="quantity" value="" />

Lot Size:<input type="text" name="lotsize" value="" />

<br/>

Duration:<select name="duration"  >

<option value="1 day">1 day</option>

<option value="3 days">3 days</option>

<option value="5 days">5 days</option>

<option value="7 days">7 days</option>

<option value="GTC">GTC</option>

</select>

Start Price:<input type="text" name="startprice" value="" />

Reserve Price:<input type="text" name="reserveprice" value="" />

Buy It Now Price:<input type="text" name="binprice" value="" />

<br/>

Condition:<select name="conditionid" >

<option value="1000">New</option>

<option value="3000">Used</option>

</select>

Paypal Email:<input type="text" name="paypalemail" value="" />

Postal Code:<input type="text" name="postalcode" value="" />

VAT Percent:<input type="text" name="vatpercent" value="" />

Bold Title<input type="checkbox" name="boldtitle" value="true" />

<br/>

Description:<textarea cols="50" rows="4"  name="description"></textarea>

Location:<input type="text" name="location" value="Pittsburgh, PA" />

Upload Picture:<input type="file" name="picpath" >

<br/>

Payment Methods:<input type="checkbox" name="ckbpaymethods" value="PAY_PAL" />Paypal

<input type="checkbox" name="ckbpaymethods" value="DISCOVER" />Discover card

<input type="checkbox" name="ckbpaymethods" value="AM_EX" />American Express

<input type="checkbox" name="ckbpaymethods" value="VISA_MC" />Visa or Master Card

<br/>

Ship to Locations:<input type="checkbox" name="ckbShipToLocations" value="Asia" />Asia

<input type="checkbox" name="ckbShipToLocations" value="DE" />Germany

<input type="checkbox" name="ckbShipToLocations" value="MX" />Mexico

<input type="checkbox" name="ckbShipToLocations" value="GB" />United Kindom

<input type="checkbox" name="ckbShipToLocations" value="Worldwide" />Worldwide

<input type="checkbox" name="ckbShipToLocations" value="AU" />Australia

<input type="checkbox" name="ckbShipToLocations" value="JP" />Japan

<input type="checkbox" name="ckbShipToLocations" value="Europe" />Europe

<input type="checkbox" name="ckbShipToLocations" value="CA" />Canada

<input type="checkbox" name="ckbShipToLocations" value="CN" />China

<br/>

<select name="shippingserviceindex"  >
<%@ page import="com.ebay.sdk.helper.ui.ControlTagItem" %>
<% ControlTagItem[] ctrlServices = (ControlTagItem[]) request.getAttribute("ctrlServices"); %>
<% for(int i=0;i<ctrlServices.length;i++){ %>
   <option value="<%=i %>" ><%=ctrlServices[i].Text %></option>
<%} %>
</select>

Shipping service cost:

<input type="text" name="shippingservicecost" value="" />

Additional Shipping service cost:

<input type="text" name="additionalshippingservicecost" value="" />

<br/>

<input type="submit" name="submit" value="Add Item" />

</form>

</body>
</html>
